@import './base.scss'; //通过这种方式引入其他scss,这样每次页面都只用引入一个css文件了,懂?

@import './top.scss'; //引入头部样式

@import './bottom.scss'; //引入尾部样式


/* 页面固定的小笔 */
.feedback-logo {
    position: fixed;
    top: 258px;
    left: 50%;
    margin-left: 610px;
    width: 35px;
    height: 35px;
    background: url("./../images/index/new_index_sprite.png") no-repeat;
    background-position: -4px -37px;
    cursor: pointer;
}

.feedback-logo:hover {
    background-position: -4px -94px;
}


/* nav 开始 */
#nav {
    .main-nav {
        height: 40px;
        position: relative;
        background-color: #1f2234;
        border-radius: 5px;
        border-radius: 6px 5px 0px 0px;

        .menu-box-wrap {
            .menu-title {
                width: 140px;
                color: #fff;
                text-align: center;
                font-size: 15px;
                font-weight: bold;
                line-height: 40px;
                background: #e11639;
                border-radius: 5px 0 0 0;
                cursor: pointer;
            }


            .menu-title:hover {
                background: #fff;
                color: #000;
                box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
                position: relative;
                z-index: 300;
            }
            // 让menu-box显示
            .menu-title:hover+.menu-box{
                display: block;
                margin-top: -2px;
            }

            .menu-box {
                position: absolute;
                left: -1px;
                top: 40px;
                width: 1200px;
                height: 525px;
                padding-bottom: 10px;
                background: #fff;
                border: 1px solid #e5e5e5;
                box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
                z-index: 200;
                display: none; //先默认隐藏

                /* 每个货源盒子 */
                .huoyuan {
                    float: left;
                    width: 372px;
                    // height: 187px;
                    // background: pink;
                    padding-top: 5px;
                    margin-left: 25px;

                    h3 {
                        height: 40px;
                        position: relative;

                        >a {
                            font-size: 16px;
                            font-weight: bold;
                            margin-left: 30px;
                            height: 40px;
                            display: inline-block;
                            line-height: 40px;
                        }

                        .icon {
                            position: absolute;
                            left: 0;
                            top: 12px;
                            display: inline-block;
                            width: 18px;
                            height: 18px;
                            background: url("./../images/index/sprit2e.png") no-repeat;
                            background-position: 0 -162px;
                        }
                    }

                    .con {
                        .item {
                            margin-left: 32px;
                            overflow: hidden;

                            p {
                                float: left;
                                display: block;
                                text-align: right;
                                font-weight: bold;
                                height: 21px;
                                overflow: hidden;
                                margin-right: 5px;
                            }

                            ul {
                                width: 76%;
                                overflow: hidden;

                                li {
                                    float: left;

                                    a {
                                        display: inline-block;
                                        padding: 0 6px;
                                        color: #444b55;
                                        word-wrap: break-word;
                                        max-width: 100%;
                                    }

                                    a:hover {
                                        text-decoration: underline;
                                    }
                                }
                            }
                        }

                        // ul {
                        //     margin-left: 32px;
                        //     overflow: hidden;
                        //     li {
                        //         float: left;

                        //         a {
                        //             display: inline-block;
                        //             padding: 0 6px;
                        //             color: #444b55;
                        //             word-wrap: break-word;
                        //             max-width: 100%;
                        //         }
                        //     }

                        //     div{
                        //         width: 76%;
                        //     }
                        //     >li:first-of-type {
                        //         display: block;
                        //         text-align: right;
                        //         font-weight: bold;
                        //         height: 21px;
                        //         overflow: hidden;
                        //         margin-right: 5px;
                        //     }
                        // }
                    }
                }
            }
        }

        >ul {
            li {
                float: left;
                text-align: center;
                line-height: 40px;
                position: relative;

                >a {
                    padding: 0 20px;
                    font-size: 16px;
                    color: #fff;
                }

                >a:hover {
                    text-decoration: underline;
                }

                .new-icon {
                    position: absolute;
                    top: -5px;
                    right: -11px;
                    width: 32px;
                    height: 32px;
                    background: url("./../images/new-icon.png") no-repeat;
                    animation: myanimate 5s infinite;
                }

                @keyframes myanimate {
                    0% {
                        transform: rotate(15deg);
                    }

                    5% {
                        transform: rotate(0deg);
                    }
                }
            }
        }
    }
}

/* nav 结束 */


/* section 主体部分 开始 */
.section {
    background: #f1f1f1;
    // height: 1000px; //先定个高度,到时候删除
    // margin-bottom: 200px; //先定个margin方便看到下面

    /* section1 */
    .section1 {
        width: 1200px;
        height: 480px;
        position: relative;

        a {
            color: #fff;
            display: block;
        }

        /* 左分类 */
        .cc-level {
            width: 140px;
            height: 480px;
            font-size: 14px;



            /* 左分类 右边内容的 content公共样式 */
            .bg-content {
                width: 204px;
                height: 480px;
                padding-left: 15px;
                background: #303345;
                position: absolute;
                top: 0;
                left: 140px;
                z-index: 99;
                box-sizing: border-box;

                /* 左边三个小分类 */
                >ul {

                    /* 每个2020新款这样的小盒子 */
                    >li {
                        position: relative;
                        /* 用于给小盒子的边框定位在小盒子底部 */
                    }

                    /* 每个2020新款这样的小盒子的底部加边框 */
                    >li::after {
                        position: absolute;
                        content: '';
                        width: 173px;
                        height: 0;
                        bottom: 0px;
                        left: 0px;
                        border-bottom: 1px solid #242738;
                    }

                    .title {
                        padding-top: 16px;
                        margin-bottom: 10px;
                        width: 100%;
                        height: 25px;
                        line-height: 25px;
                        font-size: 16px;
                        font-weight: bold;
                        overflow: hidden;
                        text-align: left;

                        p {
                            margin-right: 14px;
                            float: left;
                        }
                    }

                    ul {
                        box-sizing: border-box;

                        li {
                            float: left;
                            font-size: 14px;
                            max-width: 114px;
                            margin: 0px 20px 12px 0px;

                            a {
                                overflow: hidden;
                                text-overflow: ellipsis;
                                white-space: nowrap;
                                font-weight: normal
                            }

                            a:hover {
                                color: #999;
                            }
                        }

                    }


                }
            }

            /* 左分类li hover时的背景颜色 */
            >li.active {
                background: #303345;
            }

            >li {
                width: 120px;
                height: 118px;
                padding: 0 10px;
                text-align: center;
                color: #fff;
                overflow: hidden;
                background: #e11639; //左分类li默认背景颜色

            }

            /* 左分类1以及内容1  */
            .bg1 {
                margin-top: -1px;

                >a {
                    display: block;
                    height: 118px;
                    line-height: 118px;

                    .limimg {
                        padding: 3px 16px;
                        background: url("./../images/index/spriter1.png") no-repeat;
                        background-position: 0px -359px;
                    }


                }

                .bg-content {
                    display: block;
                    /* 默认显示第一个导航栏 */
                }

            }


            /* 左分类2以及内容2 */
            .bg2 {
                margin-top: -1px;

                >a {
                    display: block;
                    height: 118px;
                    line-height: 118px;

                    .limimg {
                        padding: 6px 16px;
                        background: url("./../images/index/spriter1.png") no-repeat;
                        background-position: 0px -386px;
                    }
                }

                .bg-content {
                    display: none;
                    width: 210*3px;
                    /*bg3的 .bg-content 有三个ul,所以*3*/

                    /* bg2的内容有些不一样,
                    所以要修改下ul,首先是一列只有三个,那每个li的高度也要改下
                    然后是第二三列,里面的ul的li不浮动
                     */
                    >ul {
                        text-align: left;
                        /* 都是左对齐 */
                        width: 198px;
                        float: left;

                        /* 一列只有三个,所以li的高度修改一下,适应页面 */
                        >li {
                            width: 189px;
                            height: 146px;
                        }

                        /* 每个ul下的第三个li的底边框after元素去掉 用空after覆盖了*/
                        li:nth-of-type(3)::after {
                            position: absolute;
                            content: '';
                            width: 0px;
                            height: 0;
                            bottom: 0px;
                            left: 0px;
                        }
                    }

                    /* 第二个和第三个ul下的ul里的li不浮动 */
                    ul:nth-of-type(2) {

                        /* 其中第一个li里的ul里的li浮动,其他的li里的ul不浮动 */
                        li:first-of-type {
                            li {
                                float: left;
                            }
                        }

                        li {
                            ul {
                                li {
                                    float: none;
                                }
                            }

                        }
                    }

                    ul:nth-of-type(3) {
                        ul {
                            li {
                                float: none;
                            }
                        }
                    }
                }
            }

            /* 左分类3无内容 */
            .bg3 {
                background: #EE2346;
                width: 140px;
                height: 244px;
                text-align: center;
                box-sizing: border-box;

                .title {
                    font-size: 16px;
                    padding-top: 35px;
                    font-weight: bold;
                }

                .limimg {
                    padding: 0px 18px;
                    background: url("./../images/index/spriter1.png") no-repeat;
                    background-position: 0px -417px;
                }

                ul {
                    li {
                        font-size: 12px;
                        margin-bottom: 10px;
                    }
                }
            }
        }

        /* 中banner */
        .choice-classify {
            position: relative;
            overflow: hidden;
            width: 636px;
            height: 480px;
            background: #fff;
            margin-left: 204px;
            margin-top: -1px;

            /*去除和顶部的1px间距,这里是行内间距吗?不太知道*/
            /* 轮播图 */
            .main-pic-banner {
                width: 424px;
                height: 240px;
                background: #000;
            }

            /* 下面ul三张图 */
            >ul {
                clear: both;

                li {
                    float: left;
                }
            }
        }


        /* 右登录等详细 */
        .aside {
            width: 219px;
            border-right: 1px solid #e0e0e0;

            .aside-top {
                height: 130px;
                background: #fff;

                .cont {
                    border-top: 1px solid #e0e0e0;
                    border-bottom: 1px solid #e0e0e0;

                    a:hover {
                        color: #CA062C;
                    }
                }


                .welcom {
                    position: relative;
                    height: 60px;
                    line-height: 24px;
                    font-size: 16px;
                    font-family: "黑体";
                    color: rgb(45, 46, 54);
                    text-align: center;
                    padding-top: 20px;
                    background: #fff;

                    .limimg {
                        padding: 21px 22px;
                        position: absolute;
                        left: 85px;
                        bottom: 0px;
                        background: url("./../images/index/spriter1.png") no-repeat;
                        background-position: 0px -497px;
                    }
                }

                .login,
                .register,
                .free {
                    float: left;
                    width: 32%;
                    height: 48px;
                    line-height: 48px;
                    font-size: 14px;
                    font-family: "Microsoft YaHei";
                    text-align: center;
                    border-right: 1px solid #e0e0e0;

                    a {
                        color: rgb(68, 77, 92);

                    }
                }

                .login {
                    border-left: 1px solid #e0e0e0;
                }

                .free {
                    border-right: none;
                }


                .login {
                    .limimg {
                        padding: 3px 14px;
                        background: url("./../images/index/spriter1.png") no-repeat;
                        background-position: 0px -431px;
                        margin-left: -12px;
                    }
                }

                .register {
                    .limimg {
                        padding: 3px 14px;
                        margin-left: -12px;
                        background: url("./../images/index/spriter1.png") no-repeat;
                        background-position: 0px -450px;
                    }
                }
            }

            .aside-midlle1 {
                position: relative;
                height: 82px;
                width: 219px;
                padding-top: 37px;
                background: url("./../images/purchase.png") no-repeat;

                .num {
                    font-size: 24px;
                    font-family: "Helvetica";
                    color: rgb(255, 62, 62);
                    letter-spacing: 13px;
                    text-align: center;
                    padding-left: 2px;

                    i {
                        width: 30px;
                        height: 37px;
                        float: left;
                        background: url("./../images/num_sp.png") no-repeat;
                    }

                    // 定义数组
                    $iPostition:-108px,
                    -288px,
                    -216px,
                    -324px,
                    -252px,
                    -72px,
                    -216px;

                    @each $c in $iPostition {
                        $i: index($iPostition, $c);

                        i:nth-of-type(#{$i}) {
                            background-position: 0 $c;
                        }
                    }
                }

                .text {
                    font-size: 14px;
                    color: rgb(68, 77, 92);
                    text-align: center;
                    margin-top: 10px;
                }
            }

            .aside-midlle1::after {
                content: '';
                position: absolute;
                height: 0px;
                bottom: 0px;
                width: 160px;
                margin-left: 28px;
                border-bottom: 1px solid #e0e0e0;
            }

            .aside-midlle2 {
                height: 117px;
                position: relative;
                background: #fff;

                li {
                    position: relative;
                    height: 79px;
                    width: 109px;
                    float: left;
                    padding-top: 38px;
                    text-align: center;

                    .num {
                        font-size: 24px;
                        color: rgb(68, 77, 92);
                    }

                    .text {
                        font-size: 14px;
                        color: rgb(170, 178, 189);
                    }
                }

                li:first-of-type::after {
                    content: '';
                    position: absolute;
                    height: 0;
                    bottom: 33px;
                    right: 1px;
                    width: 52px;
                    height: 34px;
                    border-right: 1px solid #e0e0e0;
                }
            }

            .aside-bottom {
                height: 109px;
                width: 100%;
                border-bottom: 1px solid #e0e0e0;
                border-top: 2px solid #fafafa;
                background: #fff;

                h3 {
                    font-size: 14px;
                    font-weight: bold;
                    color: rgb(68, 77, 92);
                    margin-left: 12px;
                    margin-top: 12px;
                    line-height: 14px;
                }

                ul {
                    margin-left: 12px;
                    margin-top: 13px;

                    li {
                        position: relative;

                        a {
                            overflow: hidden;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                            font-size: 12px;
                            color: rgb(98, 106, 119);
                            line-height: 20px;
                            display: block;
                            float: left;
                            padding-left: 2px;
                            width: 190px;
                        }

                        a:hover {
                            color: #CA062C;
                        }

                        em {
                            font-size: 30px;
                            color: #e0e0e0;
                            height: 20px;
                            width: 10px;
                            line-height: 20px;
                            display: block;
                            float: left;
                            margin-top: -3px;
                        }
                    }
                }
            }
        }

    }

    /* section1 结束 */



    /* section2 开始 */
    .live {
        height: 381px;
        background: skyblue;
        margin: 20px auto 0;
        width: 1200px;
        padding: 14px 14px 20px 14px;
        background-color: #fff;
        font-family: 'Microsoft YaHei';
        box-sizing: border-box;

        .live-top {
            line-height: 34px;
            color: #222;

            .right {
                float: right;
                font-size: 14px;
                color: #FE3666;
                background-color: #FBB0C2;
                border-radius: 50px;
                padding: 0 20px;
                cursor: pointer;
            }

            h3 {
                line-height: 34px;
                font-size: 28px;
                color: #222;
                display: inline-block;
            }

            p {
                margin-left: 10px;
                font-size: 12px;
                display: inline-block;

                span {
                    border: 1px solid #D8D8D8;
                    width: 25px;
                    height: 25px;
                    line-height: 25px;
                    margin: 0 5px;
                    text-align: center;
                    font-size: 14px;
                    display: inline-block;
                    background-image: linear-gradient(#FFFFFF, #C9C6C6 50%, #FFFFFF);
                }
            }
        }


        .live-bottom {
            margin-top: 15px;
            overflow: hidden;
            overflow-x: auto;
            padding-bottom: 10px;

            .live-list {
                width: 1300px;

                dl {
                    margin-right: 10px;
                    float: left;
                    width: 250px;
                    position: relative;
                    cursor: pointer;

                    dt {
                        overflow: hidden;
                        width: 250px;
                        height: 206px;

                        >img {
                            position: absolute;
                            width: 25px !important;
                            height: 25px;
                            bottom: 50px;
                            /* opacity: 1; */
                            left: 200px;
                            z-index: 999;
                        }

                        img {
                            width: 100%;
                        }

                        p {
                            position: absolute;
                            text-align: center;
                        }

                        .title {
                            left: 0;
                            top: 130px;
                            font-size: 20px;
                            color: #fff;
                            line-height: 40px;
                            white-space: nowrap;
                            word-break: keep-all;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            width: 100%;
                        }

                        .watch {
                            bottom: 70px;
                            background-color: rgba(0, 0, 0, .7);
                            line-height: 32px;
                            color: #fff;
                            border-radius: 30px;
                            display: inline-block;
                            padding-right: 15px;
                            margin: 0 auto;
                            left: 50%;
                            margin-left: -90px;
                            font-size: 16px;

                            span {
                                border-radius: 30px;
                                padding: 0 15px;
                                line-height: 32px;
                                float: left;
                                margin-right: 10px;
                                margin-left: -1px;
                                background-color: #FF2853;
                                background-image: linear-gradient(138deg, #F72386 0%, #FF2853 100%);
                                line-height: 32px;
                                padding-left: 10px;
                                color: #fff;
                                font-family: 'Microsoft YaHei';
                                font-size: 16px;

                            }

                            span::before {
                                animation: active .6s infinite alternate;
                                content: '';
                                font: 0;
                                overflow: hidden;
                                width: 6px;
                                height: 6px;
                                background-color: #fff;
                                display: inline-block;
                                margin-right: 5px;
                                border-radius: 4px;
                                vertical-align: 3px;
                            }

                            @keyframes active {
                                0% {
                                    opacity: 0;
                                }

                                80% {
                                    opacity: 1;
                                }

                            }
                        }
                    }

                    dd {
                        text-align: center;
                    }

                    dd:first-of-type {
                        font-size: 16px;
                        color: #4A4A4A;
                        line-height: 36px;
                    }

                    dd:last-of-type {
                        font-size: 16px;
                        color: #AAAAAA;
                        line-height: 28px;
                    }
                }
            }
        }

        /* 滚动条样式 */
        .live-bottom::-webkit-scrollbar,
        .live-bottom::-webkit-scrollbar-thumb,
        .live-bottom::-webkit-scrollbar-track {
            border-radius: 6px;
            height: 12px;
        }

        .live-bottom::-webkit-scrollbar-thumb {
            background-color: #FE3666;
        }

        .live-bottom::-webkit-scrollbar-track {
            background-color: #D8D8D8;
        }
    }

    /* section2 结束 */




    /* section3 开始 */
    .ad {
        height: 250px;
        background: skyblue;
        margin-top: 40px;

        .ad-item {
            float: left;
            margin-left: 8px;
        }

        .ad-item:first-of-type {
            margin-left: 0;
        }
    }

    /* section3 结束 */


    // 由于后面几个section都有个公共的标题样式,所以在这里吧标题样式做成公共的
    .common-tit {
        text-align: center;
        font: 28px/56px "Microsoft Yahei";
        color: #222;
        padding-bottom: 15px;
        position: relative;

        em {
            display: inline-block;
            width: 36px;
            height: 33px;
            vertical-align: middle;
            margin-right: 15px;
            background: url("./../images/index/spriter.png") no-repeat;
        }
    }




    /* section4 开始 */
    .hot {
        .hot1 {
            height: 570px;
            background: #fff;
            margin-top: 40px;

            h3.common-tit {
                /* 这里注意看下面的几个版块的h3都是一样的,所以可以洗个公共样式,懂? */
                height: 56px;
                background: #f1f1f1;

                em {
                    background-position: 0px -233px;
                }
            }
        }

        .hot-item {
            .left {
                width: 199px;
                height: 499px;
                background: url(../images/nv20170204.jpg) no-repeat;
                position: relative;
                float: left;

                .hot-top {
                    position: relative;
                    left: -8px;
                    box-sizing: border-box;
                    padding-top: 8px;
                    padding-left: 20px;
                    font-size: 20px;
                    line-height: 42px;
                    color: #fff;
                    font-weight: bold;
                    background: url("./../images/index/spriter.png") no-repeat;
                    background-position: 0px -53px;
                }

                ul {
                    padding: 20px 15px;
                    max-height: 270px;
                    overflow: hidden;
                    text-align: justify;

                    li {
                        float: left;

                        a {
                            padding: 5px 5px 5px 0;
                            font-size: 14px;
                            line-height: 24px;
                            color: #fff;
                        }
                    }
                }

                >a {
                    padding: 5px 10px;
                    border: 1px solid #fff;
                    border-radius: 20px;
                    position: absolute;
                    top: auto;
                    left: 15px;
                    right: auto;
                    bottom: auto;
                    font-size: 14px;
                    line-height: 24px;
                    color: #fff;
                }
            }

            .center {
                width: 748px;
                // height: 510px;
                float: left;

                ul {
                    height: 53px;
                    padding: 0 10px;
                    background: #fff;
                    // border-right: 1px solid #e0e0e0;
                    border-bottom: 1px solid #e0e0e0;

                    li {
                        float: right;

                        a {
                            padding: 16px;
                            font-size: 14px;
                            line-height: 51px;
                        }
                    }
                }

                .item-list {

                    // width: 100%;
                    >.item {
                        width: 373px;
                        height: 147px;
                        border-right: 1px solid #e0e0e0;
                        border-bottom: 1px solid #e0e0e0;
                        float: left;
                        display: flex;

                        .item-img {
                            position: relative;

                            img {
                                width: 148px;
                                height: 148px;
                                /* 模糊 */
                                filter: blur(4px);
                            }

                            .mask {
                                width: 148px;
                                // width: 80px;
                                height: 148px;
                                position: absolute;
                                background: rgba(0, 0, 0, .6);
                                left: 0;
                                top: 0;

                                .enterst {
                                    width: 44px;
                                    height: 44px;
                                    border: 1px solid #fff;
                                    color: #fff;
                                    padding: 4px;
                                    box-sizing: border-box;
                                    text-align: center;
                                    line-height: 15px;
                                    position: absolute;
                                    left: 0;
                                    top: 0;
                                    right: 0;
                                    bottom: 0;
                                    margin: auto;
                                }
                            }
                        }

                        .item-right {
                            padding-left: 15px;
                            padding-right: 15px;
                            overflow: hidden;
                            // margin-left: -50px;
                            z-index: 200;
                            background: #fff;

                            .item-top {
                                >h3 {
                                    color: #282d34;
                                    font-weight: 600;
                                    overflow: hidden;
                                    text-overflow: ellipsis;
                                    white-space: nowrap;
                                    font-size: 14px;
                                    line-height: 34px;
                                }

                                >p {
                                    font-size: 12px;
                                    line-height: 21px;
                                    color: #444d5c;

                                    em {
                                        color: #f92e72;
                                        font-size: 14px;
                                        line-height: 20px;
                                    }
                                }

                                /* 另一份样式,用作切换 */
                                .item-list {
                                    width: 400px;

                                    dl {
                                        float: left;
                                        margin-right: 10px;

                                        dt {
                                            width: 80px;
                                            width: 80px;
                                            position: relative;

                                            img {
                                                width: 80px;
                                                width: 80px;
                                            }

                                            p {
                                                position: absolute;
                                                text-align: center;
                                                width: 80px;
                                                bottom: 0;
                                            }
                                        }

                                        dd {
                                            width: 80px;
                                            height: 20px;
                                        }
                                    }
                                }
                            }

                            .item-bottom {
                                width: 204px;
                                padding-top: 5px;
                                border-top: 1px solid #fafafa;
                                margin-top: 20px;
                                display: block;
                            }
                        }
                    }
                }
            }

            .right {
                float: left;
                width: 250px;
                height: 500px;
                border-left: 1px solid #f1f1f1;
                overflow: hidden;
                >h3{
                    color: #f92e72;
                    padding-left: 15px;
                    font-size: 18px;
                    height: 50px;
                    font-weight: 600;
                    line-height: 50px;
                    position: relative;
                    a{
                        position: absolute;
                        top: 14px;
                        left: auto;
                        right: 10px;
                        bottom: auto;
                        font-size: 12px;
                        line-height: 24px;
                        color: #ccc;
                    }
                }
                >ul{
                    padding: 0 2px;
                    text-align: center;
                    >li{
                        position: relative;
                        overflow: hidden;
                        .sitenum{
                            float: left;
                            display: block;
                            width: 152px;
                            padding-left: 8px;
                            cursor: pointer;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                            >a{
                                font-size: 14px;
                                color: #222;
                                line-height: 32px;
                                overflow: hidden;
                                display: block;
                                em{
                                    float: left;
                                    font-size: 24px;
                                    line-height: 32px;
                                    color: #e0e0e0;
                                    font-weight: 600;
                                    font-family: "Arial";
                                    margin-right: 8px;
                                }
                                span{
                                    display: block;
                                    float: left;
                                    width: 130px;
                                    overflow: hidden;
                                    text-overflow: ellipsis;
                                    white-space: nowrap;
                                }
                            }
                        }
                        .company{
                            width: 74px;
                            height: 18px;
                            position: relative;
                            margin-right: 5px;
                            top: 8px;
                            background: #e0e0e0;
                            float: left;
                            .star1{
                                width: 100%;
                                height: 100%;
                                position: relative;
                                left: 0;
                                top: 0;
                                z-index: 5;
                                background: url("./../images/index/new_stars.png") no-repeat;
                            }
                            .star2{
                                width: 40%;
                                background: #f97e72;
                                position: absolute;
                                top: 0;
                                left: 0;
                                right: auto;
                                bottom: auto;
                                height: 100%;
                                z-index: 1;
                            }
                        }
                        >ul{
                            width: 101%;
                            padding: 8px 0;
                            border-bottom: 1xp solid #fafafa;
                            overflow: hidden;
                            display: none;
                            >li{
                                float: left;
                                width: 60px;
                                height: 60px;
                                background: #f1f1f1;
                                margin-right: 2px;
                                line-height: 60px;
                                text-align: center;
                                img{
                                    width: 60px;
                                    height: 60px;
                                }
                            }
                        }
                    }

                    // 先弄个hover瞧瞧
                    >li:hover .sitenum{
                        display: none;
                    }
                    >li:hover .company{
                        display: none;
                    }
                    >li:hover ul{
                        display: block;
                    }

                    >li.first{
                        .imgbox{
                            height: 77px;
                            cursor: pointer;
                            img{
                                width: 50px;
                                height: 50px;
                                border-radius: 50%;
                                background: #f1f1f1;
                                position: relative;
                                top: 22px;
                                margin: 0 auto;
                            }
                        }

                        // 黄冠
                        .imgbox::before{
                            content: "";
                            width: 24px;
                            height: 20px;
                            position: absolute;
                            top: 8px;
                            left: 111px;
                            right: auto;
                            bottom: auto;
                            z-index: 1;
                            background: url("./../images/index/spriter7.png") no-repeat;
                            background-position: -6px -209px;
                        }
                        >p{
                            padding: 0 20px;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                            >a{
                                font-size: 14px;
                                color: #222;
                                font-weight: 600;
                                line-height: 36px;
                            }
                        }
                        >ul{
                            display: block;
                        }
                    }
                }
            }
        }

        .hot2 {
            height: 499px;
            background: #fff;
            margin-top: 40px;

        }


        .hot3 {
            height: 445px;
            background: #fff;
            margin-top: 40px;
            width: 590px;

            .left {
                background: url("../images/index/pic2.jpg") no-repeat;
                height: 445px;
            }

            .center {
                width: 390px;

                .item-list {
                    width: 390px;

                    >.item {
                        width: 390px;

                    }
                }
            }
        }

        .hot3:first-of-type {
            margin-right: 10px;
        }
    }

    /* section4 结束 */



    /* section5 开始 */
    .luntan {
        // height: 634px;
        background: skyblue;
        margin-top: 40px;

        h3.common-tit {
            /* 这里注意看下面的几个版块的h3都是一样的,所以可以洗个公共样式,懂? */
            height: 56px;
            background: #f1f1f1;

            em {
                background-position: 0px -233px;
            }
        }

        // div版块公共样式
        >div {
            padding-top: 20px;
            position: relative;

            // 公共h3样式
            >h3 {
                padding: 0 0 18px 20px;
                font-weight: bold;
                color: #434a54;
                font-size: 16px;
                border-bottom: 1px solid #fafafa
            }

            >a {
                >span {
                    display: block;
                    width: 30px;
                    height: 15px;
                    position: absolute;
                    right: 20px;
                    top: 25px;
                    background: url("./../images/new_index_sprite.png") no-repeat;
                    background-position: -23px -4px;
                }
            }
        }

        .news-l {
            width: 235px;
            height: 561px;
            background: pink;

            .news-l-top {
                >a {
                    >img {
                        width: 235px;
                        height: 165px;
                    }
                }

                >p {
                    height: 46px;
                    padding: 10px 15px 0 15px;
                    font-size: 14px;
                    overflow: hidden;

                    a:hover {
                        color: inherit;
                    }
                }
            }

            .news-l-bottom {
                padding: 10px 20px 5px 20px;
                height: 287px;
                overflow: hidden;

                .reply {
                    position: relative;
                    margin-top: 15px;

                    span {
                        display: inline-block;
                        width: 10px;
                        height: 10px;
                        background: url("./../images/new_index_sprite.png") no-repeat;
                        background-position: -129px -118px;
                        margin-top: 9px;
                    }

                    h3 {
                        display: inline-block;
                        font-size: 14px;
                        color: #656d78;
                        font-weight: bold;
                        padding-left: 6px;
                        width: 120px;
                    }

                    a {
                        display: block;
                        width: 18px;
                        height: 11px;
                        background: url("./../images/new_index_sprite.png") no-repeat;
                        background-position: -63px -1px;
                        margin-top: 12px;
                        position: absolute;
                        right: 0px;
                        top: 0;

                    }
                }

                .reply-content {
                    .item {
                        margin-top: 10px;

                        .item-t {
                            span {
                                width: 5px;
                                height: 5px;
                                display: block;
                                background: url("./../images/new_index_sprite.png") no-repeat;
                                background-position: -5px -4px;
                                margin-top: 8px;
                                float: left;
                            }

                            >p {
                                float: left;
                                width: 85%;
                                font-size: 12px;
                                padding-left: 3px;
                                overflow: hidden;
                                max-height: 36px;
                            }
                        }

                        >p {
                            float: right;
                            font-size: 12px;
                            color: #aab2bd;
                            padding-top: 2px
                        }
                    }
                }
            }
        }

        .news-m {
            width: 700px;
            height: 561px;
            background: #fff;

            .news-m-con {
                .item {
                    width: 329px;
                    height: 152px;
                    position: relative;
                    border-bottom: 1px solid #fafafa;
                    border-right: 1px solid #fafafa;
                    float: left;
                    display: block;
                    padding: 20px 0 0 20px;

                    >p {
                        width: 94%;
                        font-size: 14px;
                        padding-bottom: 12px;
                        padding-right: 20px;
                        color: #24292f;
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                    }

                    >img {
                        width: 137px;
                        height: 92px;
                        border: 1px solid #e5e5e5;
                        float: left;
                    }

                    .item-r {
                        float: right;

                        >p {
                            width: 151px;
                            padding-left: 10px;
                            padding-right: 20px;
                        }

                        .item-small {
                            position: absolute;
                            left: 185px;
                            bottom: 36px;
                            color: #aab2bd;

                            i {
                                display: inline-block;
                                width: 16px;
                                height: 11px;
                                background: url("./../images/new_index_sprite.png") no-repeat;
                                background-position: -80px -95px;
                                margin-right: 10px;
                            }

                            span:first-of-type {
                                display: inline-block;
                                padding-right: 10px;
                            }
                        }
                    }
                }

                .item:hover {
                    background: #fafafa;
                }

                a:hover {
                    color: inherit;
                }
            }
        }

        .news-r {
            width: 262px;
            height: 561px;
            // background: yellow;

            .news-r-t {
                width: 250px;
                height: 230px;
                margin-top: 10px;
                padding: 0 0 10px 6px;

                img {
                    max-width: 250px;
                    max-height: 145px;
                    border: 1px solid #e5e5e5;
                }

                p:first-of-type {
                    color: #434a54;
                    font-size: 12px;
                    font-weight: bold;
                    margin-top: 10px;
                    max-height: 36px;
                    overflow: hidden;
                }

                p:last-of-type {
                    margin-top: 5px;
                    color: #656d78;
                    height: 36px;
                    overflow: hidden;
                }
            }
        }
    }

    /* section5 结束 */


    /* section6 开始 */
    .newgoods {
        background: skyblue;
        margin-top: 40px;

        h3.common-tit {
            /* 这里注意看下面的几个版块的h3都是一样的,所以可以洗个公共样式,懂? */
            height: 56px;
            background: #f1f1f1;

            em {
                background-position: 0px -233px;
            }
        }

        ul {
            overflow: hidden;

            li {
                float: left;
                width: 279px;
                height: 360px;
                padding: 20px 10px;
                border: 1px solid #fafafa;
                // margin-top: -1px;
                margin-right: -1px;
                position: relative;

                a {
                    display: block;
                    width: 280px;
                    height: 380px;

                    .item-t {
                        width: 280px;
                        height: 280px;
                        position: relative;

                        >img {
                            max-width: 280px;
                            max-height: 280px;
                            filter: blur(4px);
                            /* 模糊,也是用于hover的时候 */
                        }

                        /* hover时的二维码样式 */
                        .mask {
                            position: absolute;
                            background: rgba(0, 0, 0, .7);
                            width: 280px;
                            height: 280px;
                            left: 0;
                            top: 0;

                            // display: none;//用于hover效果
                            img {
                                margin: auto;
                                margin-top: 40px;
                            }
                        }

                    }

                    .item-m {
                        width: 280px;
                        height: 60px;
                        padding-top: 10px;
                        box-sizing: border-box;

                        >span {
                            display: inline-block;

                        }

                        >span:first-of-type {
                            float: left;

                            >p:first-of-type {
                                color: #222;
                                font-size: 16px;
                                font-weight: 600;
                                line-height: 24px;
                            }

                            >p:last-of-type {
                                color: #888;
                                line-height: 18px;
                                font-size: 14px;
                            }
                        }

                        >span:last-of-type {
                            float: right;
                            color: #888;
                        }
                    }

                    // hover时的item-m样式
                    .item-m-hover {

                        width: 280px;
                        height: 60px;
                        padding-top: 10px;
                        box-sizing: border-box;

                        .item {
                            padding: 0 8px;
                            padding-right: 4px;
                            width: 80px;
                            float: left;
                            border-right: 1px solid #c0c0c0;

                            >p {
                                color: #ff106f;
                                line-height: 18px;
                                font-size: 14px;
                                font-weight: 600;
                            }

                            >span {
                                font-size: 12px;
                                line-height: 18px;
                                color: #444d5c;
                            }
                        }

                        .item:last-of-type {
                            border-right: none;
                        }
                    }

                    .item-b {
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        color: #888;
                        // color: #333;//hover时的颜色
                    }
                }
            }

            li:hover {
                box-shadow: 0 0 15px #ccc;
                z-index: 1;
            }
        }
    }

    /* section6 结束 */



    /* section7 开始 */
    .tab-link {
        height: 208px;
        background: #fff;
        margin: 30px auto;
        margin-bottom: 30px;
        position: relative;

        .top-tab {
            border: 1px solid #E3E3E3;
            height: 40px;
            background: #fafafa;

            li {
                float: left;
                padding: 0 30px;
                height: 38px;
                font-size: 14px;
                line-height: 38px;
                text-align: center;
                overflow: hidden;
                border: 1px solid transparent;
            }

            li:first-of-type {
                border-left: none;
            }

            li.active {
                background: #fff;
                border-top-width: 2px;
                border-top-color: #ee2346;
                font-weight: 700;
                line-height: 36px;
                padding: 0 28px 0 27px;
                border-right-color: #d9d9d9;
                border-left-color: #d9d9d9;
            }
        }

        .bottom-tab {
            li {
                width: 100%;
                height: 166px;
                padding: 10px 0 10px 40px;
                position: absolute;
                background: pink;
                top: 42px;
                box-sizing: border-box;
                border: 1px solid #E3E3E3;
                border-top: none;
                display: none;
            }

            li.active {
                display: block;
            }

            li:first-of-type {
                p {
                    float: left;
                }

                p:first-of-type {
                    padding: 22px 16px 0 16px;
                    width: 650px;
                    text-indent: 2em;
                    line-height: 24px;

                    strong {
                        font-weight: bold;
                    }
                }

                p:nth-of-type(2) {
                    width: 165px;
                    margin-left: 34px;
                    margin-top: 10px;
                    position: relative;

                    span {
                        text-align: center;
                        display: block;
                        width: 165px;
                        height: 26px;
                        margin-top: 24px;
                        margin-bottom: 12px;
                    }

                    a {
                        float: left;
                        margin-right: 20px;
                        display: block;
                        width: 32px;
                        height: 32px;
                        background: url("./../images/index/spriter3.png") no-repeat;
                    }

                    a:first-of-type {
                        background-position: 0 0;
                    }

                    a:nth-of-type(2) {
                        background-position: -43px 0;
                    }

                    a:last-of-type {
                        background-position: -84px 0;
                    }
                }

                p:nth-of-type(2)::after {
                    content: "";
                    height: 60px;
                    width: 1px;
                    position: absolute;
                    right: 0;
                    top: 40px;
                    background: #e3e2e1;
                }
                p:last-of-type{
                    margin-top: 50px;
                    padding-left: 19px;
                    img{
                        width: 258px;
                    height: 57px;
                    }
                    a{
                        background: url("./../images/eelly_info.png") no-repeat;
                        background-position: 0 -37px;
                        float: right;
                        width: 105px;
                        height: 21px;
                        display: block;
                        color: #fff;
                        padding-left: 8px;
                        margin: 8px 0 18px 0;
                    }

                }
            }
        }
    }

    /* section7 结束 */
}

/* section 主体部分 结束 */